package br.com.massai.model.dao;

import java.io.IOException;
import java.sql.SQLException;

import javax.ejb.Local;

import br.com.massai.model.entity.Department;
import br.com.massai.model.entity.Spreadsheet;
import br.com.massai.model.exceptions.SystemException;

@Local
public interface SpreadsheetRepository extends GenericRepository<Spreadsheet> {

	public Integer getNextCodeByDepartment(Department department) throws SystemException;
	public void aprovedSpreadsheet(Spreadsheet spreadsheet) throws SystemException, SQLException;
	public Integer getSequencialNumber(String codeEmp, String accrualBasis) throws SystemException, SQLException, IOException;

}